import pytest
from log import log_set
import os
from mail import send_mail
if __name__ == '__main__':
    log_set()
    pytest.main(["-s","testcase1.py","--alluredir=./baogao","--clean-alluredir"])
    os.system("allure generate ./baogao -o ./bao --clean")
    send_mail(["log.log","./bao/index.html"])